package com.czl.base.binding.viewadapter.fitButton

import androidx.databinding.BindingAdapter
import com.github.nikartm.button.FitButton

object ViewAdapter {

    @JvmStatic
    @BindingAdapter(value = ["fitText"], requireAll = false)
    fun setFitBtnTextCommand(fitButton: FitButton, fitText: String) {
        fitButton.setText(fitText)
    }
}